﻿using System;
namespace Producers.Rr.Xtee.Riik.Ee.Producer.Rr {
    
    
    public partial class RR410Response : global::Producers.Rr.Xtee.Riik.Ee.Producer.Rr.IRR410Response {
        
        private System.DateTime @__vastuseKPV;
        
        private System.DateTime @__seisugaKPV;
        
        private RR410Response.IAndmedType @__andmed;
        
        public RR410Response() {
        }
        
        /// <summary>
        /// All parameters
        /// </summary>
        public RR410Response(System.DateTime @vastuseKPV, System.DateTime @seisugaKPV, RR410Response.IAndmedType @andmed) {
            this.@__vastuseKPV = @vastuseKPV;
            this.@__seisugaKPV = @seisugaKPV;
            this.@__andmed = @andmed;
        }
        
        /// <summary>
        /// Copy Constructor
        /// </summary>
        protected RR410Response(IRR410Response @rR410Response) {
            this.@__vastuseKPV = @rR410Response.VastuseKPV;
            this.@__seisugaKPV = @rR410Response.SeisugaKPV;
            this.@__andmed = @rR410Response.Andmed;
        }
        
        public virtual System.DateTime VastuseKPV {
            get {
                return this.@__vastuseKPV;
            }
            set {
                this.@__vastuseKPV = value;
            }
        }
        
        public virtual System.DateTime SeisugaKPV {
            get {
                return this.@__seisugaKPV;
            }
            set {
                this.@__seisugaKPV = value;
            }
        }
        
        public virtual RR410Response.IAndmedType Andmed {
            get {
                return this.@__andmed;
            }
            set {
                this.@__andmed = value;
            }
        }
        
        public partial class AndmedType : IAndmedType {
            
            private System.Collections.Generic.List<global::Producers.Rr.Xtee.Riik.Ee.Producer.Rr.ICtEHAK> @__eHAK = new System.Collections.Generic.List<global::Producers.Rr.Xtee.Riik.Ee.Producer.Rr.ICtEHAK>();
            
            public AndmedType() {
            }
            
            /// <summary>
            /// All parameters
            /// </summary>
            public AndmedType(System.Collections.Generic.List<global::Producers.Rr.Xtee.Riik.Ee.Producer.Rr.ICtEHAK> @eHAK) {
                this.@__eHAK = @eHAK;
            }
            
            /// <summary>
            /// Copy Constructor
            /// </summary>
            protected AndmedType(IAndmedType @andmedType) {
                this.@__eHAK = @andmedType.EHAK;
            }
            
            public virtual System.Collections.Generic.List<global::Producers.Rr.Xtee.Riik.Ee.Producer.Rr.ICtEHAK> EHAK {
                get {
                    return this.@__eHAK;
                }
                set {
                    this.@__eHAK = value;
                }
            }
        }
        
        public interface IAndmedType {
            
            System.Collections.Generic.List<global::Producers.Rr.Xtee.Riik.Ee.Producer.Rr.ICtEHAK> EHAK {
                get;
                set;
            }
        }
    }
}
